<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<jsp:useBean id="p" class="com.tom.Post" scope="session" ></jsp:useBean>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>留言板</title>
</head>
<body>

<form action="addpost">
		帳號:<input id="userid" name="userid" type="text" value="${p.userid }" />${p.useridmsg }
		<br/>
		匿稱:<input id="nickname" name="nickname" type="text" value="${p.nickname }" />${p.nicknamemsg }
		<br/>
		主題:<input id="title" name="title" type="text" value="${p.title }" />${p.titlemsg }
		<br/>
		留言板:<input id="content" name="content" type="text" value="${p.content }"/>${p.contentmsg }
		<br/>
		<input type="submit" value="執行"/>
	</form> 
</body>
</html>